home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 May / PCWorld_2000-05_cd.bin / Software / TemaCD / povray / povwin3.exe / %MAINDIR% / Insert Menu / Ready-Made Scenes / Basic scene.txt next >
Encoding:
Text File  |  2000-04-06  |  851 b   |  48 lines

  1. // Persistence of Vision Ray Tracer Scene Description File
  2. // File: ?.pov
  3. // Vers: 3.1
  4. // Desc: Basic Scene Example
  5. // Date: mm/dd/yy
  6. // Auth: ?[esp]
  7. //
  8.  
  9. #version 3.1
  10.  
  11. #include "colors.inc"
  12.  
  13. global_settings
  14. {
  15.   assumed_gamma 1.0
  16. }
  17.  
  18. // ----------------------------------------
  19. camera
  20. {
  21.   location  <0.0, 0.5, -4.0>
  22.   direction 1.5*z
  23.   right     4/3*x
  24.   look_at   <0.0, 0.0,  0.0>
  25. }
  26.  
  27. sky_sphere
  28. {
  29.   pigment
  30.   {
  31.     gradient y
  32.     color_map { [0.0 color blue 0.6] [1.0 color rgb 1] }
  33.   }
  34. }
  35.  
  36. light_source
  37. {
  38.   0*x // light's position (translated below)
  39.   color red 1.0  green 1.0  blue 1.0  // light's color
  40.   translate <-30, 30, -30>
  41. }
  42.  
  43. // ----------------------------------------
  44. plane { y, -1 pigment {color rgb <0.7,0.5,0.3>}}
  45.  
  46. sphere { 0.0, 1 texture {pigment {radial frequency 8} finish{specular 1}} }
  47.  
  48.